﻿namespace DX
{
    public class UserControlForm: ViewForm
    {
        public UserControlForm(ViewControl viewControl)
        {
            this.viewControl = viewControl;
         

        }
        private readonly ViewControl viewControl;
        public ViewControl GetViewControl() => viewControl;

        public void RemoveViewControl()
        {
          
        }

        public UserControlForm NewForm()
        {
            RemoveViewControl();
            return new UserControlForm(viewControl);
        }

    }
}
